package com.mojian.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户信用与成长积分表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user_credit_log")
@ApiModel(value = "用户信用与成长积分")
public class SysUserCreditLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID（关联sys_user.id）")
    @TableId(type = IdType.INPUT)
    private Integer userId;

    @ApiModelProperty(value = "已完成任务数量")
    private Integer completedCount;

    @ApiModelProperty(value = "任务总数")
    private Integer totalCount;

    @ApiModelProperty(value = "未完成数量")
    private Integer pendingCount;

    @ApiModelProperty(value = "信用积分（初始10）")
    private Integer creditScore;

    @ApiModelProperty(value = "信誉值")
    private Integer reputation;

    @ApiModelProperty(value = "成长积分")
    private Integer growthScore;
} 